/**
 * Created by
 * User: Tang Yong Di
 * Date: 2016/10/27
 */

/*首页侧边栏view*/
var MainView = Backbone.View.extend({
    el: $('#page-report'),
    statsTemplate: _.template($('#item-template').html()),
    initialize : function (){
        EventHub.on('routedToOperatingLive', function (){
            alert("asdasd");
        })
        //this.render();
    },
    render:function () {
        this.$el.html(this.statsTemplate({pageDetail: 'asdasd'}));
    }
});